package com.mapler.autoresponder.service;

import com.mapler.service.INotifier;
import java.util.ArrayList;
import javax.mail.internet.MimeMessage;

/**
 *
 * @author mithun
 */
public class CLAutoRUtil {

    public ArrayList<MimeMessage> readEmail(EmailModel emailModel, INotifier iNotifier) {
        IMAPAutoReader reader = new IMAPAutoReader(iNotifier, emailModel);
        return reader.read();
    }
}
